package com.njwb.controller;


import com.njwb.feign.client.UserServiceClient;
import com.njwb.json.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @Autowired
    private UserServiceClient userServiceClient;
    @GetMapping("user")
    public ResponseResult findById(){
        return  userServiceClient.findById();
    }
}
